﻿using ManoMachine.Assembler.Parsers;

namespace ManoMachine.Assembler.Mnemonics.Descriptors
{
    public abstract class MnemonicDescriptor
    {
        internal string Name { get; private set; }

        protected MnemonicDescriptor(string name)
        {
            Name = name;
        }

        public abstract bool IsValidInstruction(AssemblyLine assemblyLine);
    }
}